package com.sbl.bajw.pc.model;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.fileupload.FileItem;

public class AttFileModel {
    private Long id;

    private String oldname;

    private String fileurl;

    private String userid;

    private Date uploadtime;

    private String filesize;

    private String token;

    private Short istemp;

    private BigDecimal sizebyte;

    private Long recid;

    private String smallimgurl;

    private String groupid;

    private String filetype;

    private String businessType;

    private String stutas;
    
    FileItem item;
    
    String fileName;
    
    String fileDir;
    
    public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileDir() {
		return fileDir;
	}

	public void setFileDir(String fileDir) {
		this.fileDir = fileDir;
	}

	public FileItem getItem() {
		return item;
	}

	public void setItem(FileItem item) {
		this.item = item;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOldname() {
        return oldname;
    }

    public void setOldname(String oldname) {
        this.oldname = oldname == null ? null : oldname.trim();
    }

    public String getFileurl() {
        return fileurl;
    }

    public void setFileurl(String fileurl) {
        this.fileurl = fileurl == null ? null : fileurl.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Date getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(Date uploadtime) {
        this.uploadtime = uploadtime;
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize == null ? null : filesize.trim();
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public Short getIstemp() {
        return istemp;
    }

    public void setIstemp(Short istemp) {
        this.istemp = istemp;
    }

    public BigDecimal getSizebyte() {
        return sizebyte;
    }

    public void setSizebyte(BigDecimal sizebyte) {
        this.sizebyte = sizebyte;
    }

    public Long getRecid() {
        return recid;
    }

    public void setRecid(Long recid) {
        this.recid = recid;
    }

    public String getSmallimgurl() {
        return smallimgurl;
    }

    public void setSmallimgurl(String smallimgurl) {
        this.smallimgurl = smallimgurl == null ? null : smallimgurl.trim();
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid == null ? null : groupid.trim();
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype == null ? null : filetype.trim();
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType == null ? null : businessType.trim();
    }

    public String getStutas() {
        return stutas;
    }

    public void setStutas(String stutas) {
        this.stutas = stutas == null ? null : stutas.trim();
    }
}